import 'package:get/get.dart';
import 'package:fluwx/fluwx.dart' as fluwx;

class LoginByPwdController extends GetxController{
  String wechatViewId='wechatViewId';
  String otherLoginViewId='otherLoginViewId';
  bool isHasInstallWechat = true;
  //判断是否安装了微信
 void isHasWechat() async {
    isHasInstallWechat = await fluwx.isWeChatInstalled;
    print('判断是否安装了微信' + isHasInstallWechat.toString());
    update([wechatViewId,otherLoginViewId]);
  }
}